﻿using System;
using System.Linq;
using System.ComponentModel.DataAnnotations;

namespace TaoNiuOA.Models
{
    /// <summary>
    /// 一周工作时间
    /// </summary>
    public class WorkTime
    {
        [Key]
        public int WeekTimeID { get; set; }

        [Display(Name = "星期")]
        public string DayOfWeek { get; set; }

        [Display(Name = "上班时间")]
        public string OnWork { get; set; }

        [DisplayFormat(DataFormatString = ("{0:T}"))]
        [Display(Name = "下班时间")]
        public string OffWork { get; set; }

    }
}